<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<div class="alert alert-info">添加公告</div>
<form action="${pageContext.request.contextPath}/AddNoticeServlet" method="POST">
	<div class="form-group">
		<label>公告标题：</label>
		<input type="text" name="title" class="form-control" required>
	</div>
	<div class="form-group">
		<label>公告内容：</label>
		<textarea class="form-control" name="details" rows="3" required></textarea>
	</div>
	<div class="clearfix" style="margin-bottom: 25px;">
		<button type="submit" class="pull-right btn btn-primary">添加</button>
	</div>
</form>